package com.aaa.service.sds;

import com.aaa.entity.ReturnRecords;
import com.aaa.entity.system.PageEnty;
import com.aaa.entity.sds.ViewTestResultSds;
import com.aaa.entity.sds.ViewTestResultSdsTotal;
import com.aaa.entity.system.PageOrder;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;


/**
 * (ViewTestResultSds)表服务接口
 *
 * @author makejava
 * @since 2022-09-02 09:49:58
 */
public interface ViewTestResultSdsService {

    /**
     * @create by: Teacher马
     * @description:查讯所有 分页 排序
     * @create time:

     * @return
     */
    Page queryAllViewSdsPage(PageEnty pageEnty, ViewTestResultSds viewTestResultSds);

    /**
     * @create by: Teacher马
     * @description:根据id删除 多选删除
     * @create time:

     * @return
     */
    boolean deleteUser(int[] id);
    /**
     * 通过ID查询单条数据
     *
     * @param
     * @return 实例对象
     */
    List<ViewTestResultSds> queryById(Integer id);

    List<ViewTestResultSdsTotal>  queryAllSds();

    Page<Map<String, Object>>  getByTesterId(PageOrder pageOrder , Integer testerId);


    Page<ReturnRecords>  getReturnRecords(PageOrder pageOrder , ReturnRecords records);

    int insertReturn( ReturnRecords records);
}
